package pl.edu.mimuw.irs.core.model.analysis;

import pl.edu.mimuw.irs.core.global.IDManager;
import pl.edu.mimuw.irs.core.model.design.processing.Resource;
import pl.edu.mimuw.irs.core.model.petrinet.Transition;

@Deprecated
public class HireTransition extends Transition {

	private static final long serialVersionUID = -5320170624908978028L;

	// *** Attributes

	private Resource resource;
	public Resource getResource() {
		return resource;
	}
	public void setResource(Resource resource) {
		this.resource = resource;
	}
	
	// *** Constructors
	
	public HireTransition(IDManager idManager, Resource resource) {
		super(idManager, idManager.getPrefixedNewId("Hire" + resource.getName()));
		setResource(resource);
	}
	
	// *** Methods
	
}
